package top.truehaku.generator.code.domain.model.table;


import lombok.Getter;
import lombok.Setter;
import top.truehaku.generator.common.domain.ValueObject;

public class TableComment implements ValueObject<TableComment> {

    @Getter@Setter
    private String tableComment;

    public TableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    @Override
    public boolean sameValueAs(TableComment other) {
        return other!=null&&this.tableComment.equals(other.tableComment);
    }

}
